package com.kawaiior.asoulworld.item.record;


import com.kawaiior.asoulworld.IdlFramework;
import com.kawaiior.asoulworld.init.ModCreativeTab;
import com.kawaiior.asoulworld.item.ModItems;
import com.kawaiior.asoulworld.util.IHasModel;
import net.minecraft.item.ItemRecord;
import net.minecraft.util.SoundEvent;

public class ItemRecordBase extends ItemRecord implements IHasModel {


    public  ItemRecordBase(String p_i46742_1_, SoundEvent soundIn) {
        super(p_i46742_1_, soundIn);
        this.maxStackSize=1;
        setUnlocalizedName(p_i46742_1_);
        setRegistryName(p_i46742_1_);
        ModItems.ITEMS.add(this);
        setCreativeTab(ModCreativeTab.IDL_MISC);
    }

    @Override
    public void registerModels() {
        IdlFramework.proxy.registerItemRenderer(this, 0, "inventory");
    }
}
